import { createApp } from 'vue'
import App from './App.vue'
import '@yike-design/ui/es/index.less'

// 引入全局方法
import { YkMessage, YkNotification } from '@yike-design/ui'
import Icon from '@yike-design/ui/es/components/svg-icon'
import './style.less'
import router from './router'
import './mock/data.js'
import 'qweather-icons/font/qweather-icons.css'
import request from './api/index'

const app = createApp(App)
// 注册全局组件
app.config.globalProperties.$notification = YkNotification
app.config.globalProperties.$message = YkMessage
app.use(router).use(Icon).mount('#app')
